using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp11
{
    class Animal//动物
    {
        private string name;
        public string Name { get; set; }

        public Animal(string name)
        {
            this.name = name;
        }
        public void hello()
        {
            Console.WriteLine("{0}是动物",this.name);
        }
       
    }
}